﻿using System;
using System.Collections.ObjectModel;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;
using Volo.Abp.ObjectExtending;

namespace Acme.BookStore2
{
    /// <summary>
    /// 车辆
    /// </summary>
    public class VehicleDto : ExtensibleFullAuditedEntityDto<Guid>, IMultiTenant, IHasConcurrencyStamp
    {
        /// <summary>
        /// 车辆编号
        /// </summary>
        public string Number { get; set; }
        
        /// <summary>
        /// VIN
        /// </summary>
        public string VIN { get; set; }
        
        /// <summary>
        /// 车牌号码
        /// </summary>
        public string LicensePlateNumber { get; set; }
        
        /// <summary>
        /// 车辆品牌
        /// </summary>
        public string Brand { get; set; }
        
        /// <summary>
        /// 车标图片
        /// </summary>
        public string Logo { get; set; }
        
        /// <summary>
        /// 轮胎类型
        /// </summary>
        public string TireType { get; set; }

        /// <summary>
        /// 车辆类型
        /// </summary>
        public string VehicleType { get; set; }
        
        /// <summary>
        /// 车辆合作服务商
        /// </summary>
        public string Partner { get; set; }
        
        /// <summary>
        /// 车辆年份
        /// </summary>
        public DateTime? VehicleYear { get; set; }
        
        /// <summary>
        /// 车辆购入时间
        /// </summary>
        public DateTime? PurchasingDate { get; set; }
        
        /// <summary>
        /// 成本金额
        /// </summary>
        public decimal CostAmount { get; set; }

        /// <summary>
        /// 成本详情
        /// </summary>
        public string Cost { get; set; }
        
        /// <summary>
        /// 总燃油费用
        /// </summary>
        public decimal TotalFuelCost { get; set; }
        
        /// <summary>
        /// 是否正在维护
        /// </summary>
        public bool IsMaintaining { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        
        /// <summary>
        /// 附件
        /// </summary>
        public virtual Collection<AttachFileDto> AttachFiles { get; set; }
        
        public Guid? TenantId { get; set; }
        public string ConcurrencyStamp { get; set; }
    }
}